package com.example.jiaju.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;

@Entity
public class Consult implements Serializable {
    @PrimaryKey(autoGenerate = true)
    public int id;
    private String headImg;
    private String name;
    private String detail;

    public Consult(String headImg, String name, String detail) {
        this.headImg = headImg;
        this.name = name;
        this.detail = detail;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
